package com.fishbone.secure.dynamic;

import com.fishbone.secure.entity.MetaResource;
import org.springframework.security.web.util.matcher.RequestMatcher;

import java.util.Set;

public interface RequestMatcherCreator {


    /**
     * 转换为 reqMatcher
     *
     * @param metaResources metaResource
     * @return reqMatcher
     */
    Set<RequestMatcher> convertToRequestMatcher(Set<MetaResource> metaResources);
}